package biz.ezcom.design.pattern.visitor;

public class VisitorSuccess implements Visitor{

	@Override
	public void doPerson(PersonMan man) {
		System.out.println("男人成功时，妻妾成群");
	}

	@Override
	public void doPerson(PersonWoman woman) {
		System.out.println("女人成功时，孤独一生");
	}

}
